Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong plugin syntax for jest config #87

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Conversation

lucasrmendonca
Copy link
Contributor

@lucasrmendonca lucasrmendonca commented Sep 2, 2024

The plugins property should be an Object, not an Array: https://eslint.org/docs/latest/use/configure/configuration-files

Also, jest globals were missing from the config, which caused errors such as 'expect' is not defined when linting test files

The "plugins" property should be an object, not an array:
https://eslint.org/docs/latest/use/configure/configuration-files
Also, jest globals were missing from the config, which caused errors such as 'expect' is not defined in test files
@lucasrmendonca lucasrmendonca changed the title Fix Jest rules not working fix: Jest rules not working due to wrong plugin syntax Sep 2, 2024
@lucasrmendonca lucasrmendonca changed the title fix: Jest rules not working due to wrong plugin syntax fix: wrong plugin syntax for jest config Sep 2, 2024
@gajus gajus merged commit 20ffdad into gajus:main Sep 9, 2024
1 check passed
Copy link

github-actions bot commented Sep 9, 2024

🎉 This PR is included in version 44.2.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants